package com.example.stock.service.impl;

import com.example.stock.mapper.NorthBoundRatioMapper;
import com.example.stock.model.NorthBoundRatio;
import com.example.stock.service.NorthBoundService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NorthBoundServiceImpl implements NorthBoundService {

    @Autowired
    NorthBoundRatioMapper northBoundRatioMapper;

    @Override
    public List<NorthBoundRatio> getNorthBoundRatioByStock(String stock) {
        return northBoundRatioMapper.getNorthBoundRatioByStock(stock);
    }
}
